package com.luom.springbootinit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luom.springbootinit.model.entity.User;
import com.luom.springbootinit.model.vo.UserAnalysisVO;

import java.util.List;

/**
 * 用户数据库操作
 *

 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 获取用户借阅量前五
     * @return
     */
    List<UserAnalysisVO> getTop5User();
}




